<i-form
    :model="this.data"
    class="app-form"
    ref="form"
    id="emen_main3"
    style=""
    @on-validate="formItemValidate.apply(_self, arguments)"
>
    <input style="display:none;">
    <row>
            <i-col
    class="form-layout-container"
    v-show="detailsModel.grouppanel2.visible"
    :style="{}"
    
    
    :lg="{ span: 24, offset: 0 }"
    
>
    <app-form-group
    :model="detailsModel.grouppanel2"
    layoutType="TABLE_24COL"
    titleStyle=""
    class=""
    :uiActionGroup="detailsModel.grouppanel2.uiActionGroup"
    @groupuiactionclick="groupUIActionClick($event)"
    :caption="$t('entities.emen.main3_form.details.grouppanel2')"
    :isShowCaption="false"
    uiStyle="DEFAULT"
    :titleBarCloseMode="0"
    :isInfoGroupMode="false"

>    
    <app-form-group-data-panel
        slot="dataInfoPanel"
        :model="detailsModel.grouppanel2"
        :data="data"
        :context="context"
        :viewparams="viewparams"
    ></app-form-group-data-panel>
    <row>
        <i-col
    class="form-layout-container"
    v-show="detailsModel.energycode.visible"
    :style="{}"
    
    :md="{ span: 12, offset: 0 }"
    :lg="{ span: 8, offset: 0 }"
    :xl="{ span: 6, offset: 0 }"
>
    <app-form-item
    name="energycode"
    :itemRules="this.rules().energycode"
    class=""

    :caption="$t('entities.emen.main3_form.details.energycode')"
    uiStyle="DEFAULT"
    :labelWidth="130"
    :isShowCaption="true"
    :error="detailsModel.energycode.error"
    :isEmptyCaption="false"
    labelPos="LEFT"
>
    <input-box 
    v-model="data.energycode"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.energycode.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col
    class="form-layout-container"
    v-show="detailsModel.emenname.visible"
    :style="{}"
    
    :md="{ span: 12, offset: 0 }"
    :lg="{ span: 8, offset: 0 }"
    :xl="{ span: 6, offset: 0 }"
>
    <app-form-item
    name="emenname"
    :itemRules="this.rules().emenname"
    class=""

    :caption="$t('entities.emen.main3_form.details.emenname')"
    uiStyle="DEFAULT"
    :labelWidth="130"
    :isShowCaption="true"
    :error="detailsModel.emenname.error"
    :isEmptyCaption="false"
    labelPos="LEFT"
>
    <input-box 
    v-model="data.emenname"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.emenname.disabled" 
    type='text' 
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col
    class="form-layout-container"
    v-show="detailsModel.energytypeid.visible"
    :style="{}"
    
    :md="{ span: 12, offset: 0 }"
    :lg="{ span: 8, offset: 0 }"
    :xl="{ span: 6, offset: 0 }"
>
    <app-form-item
    name="energytypeid"
    :itemRules="this.rules().energytypeid"
    class=""

    :caption="$t('entities.emen.main3_form.details.energytypeid')"
    uiStyle="DEFAULT"
    :labelWidth="130"
    :isShowCaption="true"
    :error="detailsModel.energytypeid.error"
    :isEmptyCaption="false"
    labelPos="LEFT"
>
    
<dropdown-list 
    v-model="data.energytypeid"
    :data="data"
    :context="context"
    :formState="formState"
    :viewparams="viewparams"
    :localContext='{ }' 
    :localParam='{ }' 
    :disabled="detailsModel.energytypeid.disabled"
    valueType="string"
    tag="EMENERGYTYPEID"
    codelistType="STATIC"
    placeholder="请选择..."

></dropdown-list>
</app-form-item>

</i-col>
<i-col
    class="form-layout-container"
    v-show="detailsModel.vrate.visible"
    :style="{}"
    
    :md="{ span: 12, offset: 0 }"
    :lg="{ span: 8, offset: 0 }"
    :xl="{ span: 6, offset: 0 }"
>
    <app-form-item
    name="vrate"
    :itemRules="this.rules().vrate"
    class=""

    :caption="$t('entities.emen.main3_form.details.vrate')"
    uiStyle="DEFAULT"
    :labelWidth="130"
    :isShowCaption="true"
    :error="detailsModel.vrate.error"
    :isEmptyCaption="false"
    labelPos="LEFT"
>
    <input-box 
    v-model="data.vrate"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.vrate.disabled" 
    type='number' 
    :precision="2"
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col
    class="form-layout-container"
    v-show="detailsModel.price.visible"
    :style="{}"
    
    :md="{ span: 12, offset: 0 }"
    :lg="{ span: 8, offset: 0 }"
    :xl="{ span: 6, offset: 0 }"
>
    <app-form-item
    name="price"
    :itemRules="this.rules().price"
    class=""

    :caption="$t('entities.emen.main3_form.details.price')"
    uiStyle="DEFAULT"
    :labelWidth="130"
    :isShowCaption="true"
    :error="detailsModel.price.error"
    :isEmptyCaption="false"
    labelPos="LEFT"
>
    <input-box 
    v-model="data.price"  
    @enter="onEnter($event)"  
     unit=""  
    :disabled="detailsModel.price.disabled" 
    type='number' 
    :precision="2"
    style="">
</input-box>

</app-form-item>

</i-col>
<i-col
    class="form-layout-container"
    v-show="detailsModel.itemname.visible"
    :style="{}"
    
    :md="{ span: 12, offset: 0 }"
    :lg="{ span: 8, offset: 0 }"
    :xl="{ span: 6, offset: 0 }"
>
    <app-form-item
    name="itemname"
    :itemRules="this.rules().itemname"
    class=""

    :caption="$t('entities.emen.main3_form.details.itemname')"
    uiStyle="DEFAULT"
    :labelWidth="130"
    :isShowCaption="true"
    :error="detailsModel.itemname.error"
    :isEmptyCaption="false"
    labelPos="LEFT"
>
    
<app-picker 
    :formState="formState"
    :data="data"
    :context="context"
    :viewparams="viewparams"
    :localContext='{ }' 
    :localParam='{ }' 
    :disabled="detailsModel.itemname.disabled"
    name="itemname"
    deMajorField="emitemname"
    deKeyField="emitem"
    :service="service"
    :acParams="{ serviceName: 'EMItemService', interfaceName: 'FetchDefault'}"
    valueitem="itemid" 
    :value="data.itemname"
    :pickupView="{ viewname: 'emitempickup-view', title: $t('entities.emitem.views.pickupview.title'), deResParameters: [{ pathName: 'emservices', parameterName: 'emservice' }, ], parameters: [{ pathName: 'emitems', parameterName: 'emitem' }, { pathName: 'pickupview', parameterName: 'pickupview' } ], placement:'' }"
    style=""  
    @formitemvaluechange="onFormItemValueChange($event)">
</app-picker>

</app-form-item>

</i-col>
<i-col
    class="form-layout-container"
    v-show="detailsModel.energydesc.visible"
    :style="{'height': '60px !important',}"
    
    :md="{ span: 12, offset: 0 }"
    :lg="{ span: 24, offset: 0 }"
    :xl="{ span: 24, offset: 0 }"
>
    <app-form-item
    name="energydesc"
    :itemRules="this.rules().energydesc"
    class=""

    :caption="$t('entities.emen.main3_form.details.energydesc')"
    uiStyle="DEFAULT"
    :labelWidth="130"
    :isShowCaption="true"
    :error="detailsModel.energydesc.error"
    :isEmptyCaption="false"
    labelPos="LEFT"
>
    <input-box v-model="data.energydesc" :textareaId="this.$util.createUUID()"  :disabled="detailsModel.energydesc.disabled" type='textarea' editorType="TEXTAREA_10" textareaStyle="height:200px;" ></input-box>

</app-form-item>

</i-col>
    
    </row>
</app-form-group>

</i-col>


    </row>
</i-form>
